docs: Allow interrupted lists
authorMatthias Clasen <mclasen@redhat.com>
Sun, 24 May 2020 18:20:42 +0000 (14:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 25 May 2020 20:11:18 +0000 (16:11 -0400)
We use such an interrupted, numbered list in the
q&a section, so tell pandoc to pay attention to
start numbers.

docs/reference/gtk/gtk-markdown-to-docbook

index aa5dd53e6163cef643cfe27375bb74b05873e155..5830d64d78974ae488c9eb06cbbf3362e9982b91 100755 (executable)
@@ -163,6 +163,7 @@ MarkdownExtensions = {
   '+backtick_code_blocks', # to replace |[ ]|
   '+fenced_code_attributes', # to add language annotations
   '-raw_html', # to escape literal tags like <child> in input
+  '+startnum', # to have interrupted lists in the q&a part
 }
 
 def ConvertToDocbook(infile, outfile):